package com.wnxy.dto;


public enum StatusCode {

    SUCCESS(200),
    LOGINSUCCESS(201),
    PARAMETERERROR(203),
    ERROR(500),
    USERNAMEERROR(401),
    PASSWORDERROR(402),
    LOGINERROR(408),
    ADDERROR(403),
    NULLPOINTERROR(404),
    DELETEERROR(405),
    ARITHMETICERROR(406),
    UPERROR(407),
    ORDERERROR(409);
    private Integer code;
    private StatusCode( Integer code) {
        this.code = code;
    }
    public Integer getCode() {
        return code;
    }
    public void setCode(Integer code) {
        this.code = code;
    }

}
